CommonsBooking\Model\Day A

Total Complexity 58
Dependencies 5
Dependents 6
Total lines 471
Lines of code 217
Logical lines of code 126
Comment lines 167
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
isInTimeframe()
A
48 11 34
sanitizeSlots()
S
53 7 22
mapTimeFrames()
S
55 6 18
getEndSlot()
S
58 4 15
removeEmptySlots()
S
67 4 7
__construct()
S
63 3 10
getSlot()
S
65 3 8
getTimeframeSlots()
S
59 2 14
getStartTime()
S
61 2 12
getEndTime()
S
61 2 12
getStartSlot()
S
65 2 9
getGrid()
S
61 1 13
setDate()
S
77 1 4
getSlotTimestampStart()
S
77 1 3
getDateObject()
S
80 1 3
getDate()
S
82 1 3
getEndDate()
S
70 1 6
getFormattedDate()
S
79 1 3
getName()
S
79 1 3
getStartDate()
S
70 1 6
getDayOfWeek()
S
79 1 3
getSlotByTime()
S
70 1 6
getSlotTimestampEnd()
S
76 1 3